package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysRolePermission;
import cn.wgx.modules.sys.entity.SysRolePermissionExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRolePermissionMapper {

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int updateByPrimaryKeySelective(SysRolePermission record);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    long countByExample(SysRolePermissionExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int insert(SysRolePermission record);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int updateByExample(@Param("record") SysRolePermission record, @Param("example") SysRolePermissionExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    SysRolePermission selectByPrimaryKey(Integer id);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int updateByExampleSelective(@Param("record") SysRolePermission record, @Param("example") SysRolePermissionExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int updateByPrimaryKey(SysRolePermission record);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int deleteByExample(SysRolePermissionExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    int insertSelective(SysRolePermission record);

    /**
     * @mbg.generated Tue Jun 05 17:49:48 CST 2018
     */
    List<SysRolePermission> selectByExample(SysRolePermissionExample example);
}
